function keys = makekeys4inifile(section, properties, varargin )
%MAKEKEYS4INIFILE Summary of this function goes here
%   Detailed explanation goes here

count= length(properties);

if nargin == 3
    keys= cell(count, 4);
    values= varargin{1};
else
    keys= cell(count, 3);
end

for i= 1:count
    if nargin == 3
        keys(i, :)={section, '', properties{i}, values{i}};
    else
        keys(i, :)={section, '', properties{i}};
    end
end

end

